package com.jz.community.moduleshopping.orderList.enums;

/**
 * Created by Tony.Fan on 2018/4/27 09:39
 * <p>
 * 订单状态
 * 0-00待支付, 0-01已支付,待接单 0-02已接单,待发货 0-03已提醒商家发货 0-04已发货,待收货
 * 2-01交易成功(已收货,待评价) 2-02交易成功(已评价)
 * 1-01订单关闭(用户取消) 1-02订单关闭(商户取消) 1-03订单关闭(系统自动取消) 1-04订单关闭(商家拒绝订单)
 * 3-01申请退款(申请退款) 3-02申请退款(商家已同意等待退款) 3-03 已退款
 */
public enum OrderStatusType {

    ORDER_UNPAID_PAY_STATUS("0-00"), ORDER_ALREADY_PAY_STATUS("0-01"), ORDER_RECEIPT_STATUS("0-02"),
    ORDER_DELIVERY_STATUS("0-03"), ORDER_SHIPPED_STATUS("0-04"),
    ORDER_USER_CLOSE_STATUS("1-01"), ORDER_MERCHANT_CLOSE_STATUS("1-02"), ORDER_SYSTEM_CLOSE_STATUS("1-03"), ORDER_MERCHANT_REFUSAL_CLOSE_STATUS("1-04"),
    ORDER_SUCCESS_STATUS("2-01"), ORDER_SUCCESS_EVALUATED_STATUS("2-02"),
    ORDER_APPLY_REFUND_STATUS("3-01"), ORDER_APPLY_REFUND_BUSINESS_STATUS("3-02"), ORDER_REFUNDED_STATUS("3-03");

    //功能标识(1-取消订单4-提醒商家发货5-用户收货7-评价)
    public static final String FUNMARK_1 = "1";
    public static final String FUNMARK_4 = "4";
    public static final String FUNMARK_5 = "5";
    public static final String FUNMARK_7 = "7";

    private String orderStatus;

    OrderStatusType(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }
}
